package highj;

public class Mainboard {
	private Mainboard(String n,int s,int p) {
		Name=n;
		speed=s;
		price=p;
	}
	public void mainboardwork() {
		System.out.println("mainboardwork");
	}
	public String getName() {
		return Name;
	}
	public void setName(String name) {
		Name = name;
	}
	public int getSpeed() {
		return speed;
	}
	public void setSpeed(int speed) {
		this.speed = speed;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	private String Name;
	private int speed;
	private int price;
	public static Mainboard Asus =new Mainboard("Asus",20000,1000);
	public static Mainboard Gigabyte=new Mainboard("Gigabyte",16000,900);

}
